package com.openbravo.pos.printer.escpos;

import net.xeoh.plugins.base.annotations.PluginImplementation;

import com.openbravo.pos.config.ParametersConfig;
import com.openbravo.pos.printer.PrinterWritterPool;
import com.openbravo.pos.printer.TicketPrinterException;
import com.openbravo.pos.printer.config.ParametersComm;

@PluginImplementation
public class DeviceDisplayLD2000 extends AbstractDisplayESCPOS {
	
	public DeviceDisplayLD2000() {
	}

	@Override
	public void init(String sDisplayParam1, String sDisplayParam2)
			throws TicketPrinterException {
		trans=new UnicodeTranslatorEur();
    	init(PrinterWritterPool.INSTANCE.getPrinterWritter(sDisplayParam1, sDisplayParam2));
	}

	@Override
	public String getDisplayType() {
		return "ld200";
	}

	@Override
	public ParametersConfig getConfiguration() {
		return new ParametersComm();
	}
}
